-- XSD schema extracted from ITU-T H.627 (08/2020)
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<choice maxOccurs="unbounded">
<element name="Response">
<complexType>
<sequence>
<!-- The query request response message is shown as follows.-->
<!-- Command type: device configuration acquirement (required)-->
<element name="CmdType" fixed="ConfigDownload"/>
<!-- Command SN (required) -->
<element name="SN" type="integer" minInclusive="1"/>
<!-- Device ID (required) -->
<element name="DeviceID" type="deviceIDType"/>
<!-- Query result markup (required) -->
<element name="Result" type="resultType"/>
<!-- Basic parameters (optional) -->
<element name="BasicParam " minOccurs="0">
<complexType>
<sequence>
<!-- Device name (required) -->
<element name="Name" type="string"/>
<!-- Registration expiration time (required)-->
<element name="Expiration" type="integer"/>
<!-- heartbeat interval (required)-->
<element name="HeartBeatInterval" type="integer"/>
<!-- Heartbeat timeout count (required) -->
<element name="HeartBeatCount" type="integer"/>
<!-- Positioning function support conditions. Value: 0-unsupported; 1-support GPS; 2-support Beidou positioning (optional, the default value is 0) -->
<element name="PositionCapability" type="integer" default="0"/>
<!-- Longitude (optional) -->
<element name="Longitude" type="double" minOccurs="0"/>
<!-- Latitude (optional) -->
<element name="Latitude" type="double" minOccurs="0"/>
</sequence>
</complexType>
</element>
<!-- Video parameter range (optional), the optional parameters are separated with "/". -->
<element name="VideoParamOpt" minOccurs="0">
<complexType>
<sequence>
<!-- Download speed range (optional), the optional parameters are separated with "/"; if the device supports 1, 2 and 4 times the speed, it shall be written as "1/2/4"-->
<element name="DownloadSpeed" type="string" minOccurs="0"/>
<!-- Resolution supported by the camera (optional), there are multiple resolution values separated with "/". For the resolution values, refer to the SDP f field provisions of clause 7.7. -->
<element name="Resolution" type="string" minOccurs="0"/>
</sequence>
</complexType>
</element>
<!-- Video parameter current configuration (optional)-->
<element name="VideoParamConfig">
<complexType>
<attribute name="Num" type="integer"/>
<choice minOccurs="0" maxOccurs="unbounded">
<element name="Item" type="videoParamAttributeType"/>
</choice>
</complexType>
</element>
</sequence>
</complexType>
</element>
</choice>
</schema>